<html>
<head><meta charset="utf-8"><title>interacting with github api · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html">interacting with github api</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="195862118"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195862118" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195862118">(Apr 30 2020 at 16:06)</a>:</h4>
<p>yesterday I was trying to do a small script to interact with github's api to get our issues and prs and noticed a couple of things that wanted to know how are people doing this sorting out</p>



<a name="195862238"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195862238" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195862238">(Apr 30 2020 at 16:07)</a>:</h4>
<ol>
<li>there's no way to filter by things that do not have certain labels <a href="https://developer.github.com/v3/issues/#parameters" title="https://developer.github.com/v3/issues/#parameters">https://developer.github.com/v3/issues/#parameters</a>. My solution was to retrieve everything and filter manually</li>
</ol>



<a name="195862361"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195862361" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195862361">(Apr 30 2020 at 16:08)</a>:</h4>
<ol start="2">
<li>there's no way to filter prs by things that contain a certain label <a href="https://developer.github.com/v3/pulls/#parameters" title="https://developer.github.com/v3/pulls/#parameters">https://developer.github.com/v3/pulls/#parameters</a>. My solution will be to bring all the prs and filter manually but that seems crazy</li>
</ol>



<a name="195862473"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195862473" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195862473">(Apr 30 2020 at 16:09)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116266">Santiago Pastorino</span> <a href="#narrow/stream/122651-general/topic/interacting.20with.20github.20api/near/195862361" title="#narrow/stream/122651-general/topic/interacting.20with.20github.20api/near/195862361">said</a>:</p>
<blockquote>
<ol start="2">
<li>there's no way to filter prs by things that contain a certain label <a href="https://developer.github.com/v3/pulls/#parameters" title="https://developer.github.com/v3/pulls/#parameters">https://developer.github.com/v3/pulls/#parameters</a>. My solution will be to bring all the prs and filter manually but that seems crazy</li>
</ol>
</blockquote>
<p>this would also be a bit more complicated because of pagination</p>



<a name="195862485"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195862485" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195862485">(Apr 30 2020 at 16:09)</a>:</h4>
<p>does someone have any tip or idea?</p>



<a name="195862498"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195862498" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195862498">(Apr 30 2020 at 16:09)</a>:</h4>
<p>cc <span class="user-mention" data-user-id="255061">@LeSeulArtichaut</span> <span class="user-mention" data-user-id="116122">@simulacrum</span></p>



<a name="195862503"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195862503" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195862503">(Apr 30 2020 at 16:09)</a>:</h4>
<p>github's api is not really well-suited to this sort of thing, fwiw. it's also pretty slow (they don't want you making more than one request at a time, and generally request latency is pretty high ime).</p>



<a name="195862557"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195862557" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195862557">(Apr 30 2020 at 16:09)</a>:</h4>
<p>I think "just request everything" is the best bet unfortunately</p>



<a name="195862561"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195862561" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195862561">(Apr 30 2020 at 16:09)</a>:</h4>
<p>another thing would be to request the html and parse it</p>



<a name="195862570"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195862570" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195862570">(Apr 30 2020 at 16:09)</a>:</h4>
<p>that does mean you need auth</p>



<a name="195862639"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195862639" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195862639">(Apr 30 2020 at 16:10)</a>:</h4>
<p><span aria-label="cry" class="emoji emoji-1f622" role="img" title="cry">:cry:</span></p>



<a name="195862651"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195862651" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195862651">(Apr 30 2020 at 16:10)</a>:</h4>
<p>parsing the html is going to be worse, I think, or at least I would not go down that road</p>



<a name="195862674"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195862674" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195862674">(Apr 30 2020 at 16:10)</a>:</h4>
<p>I... honestly, I would at least consider doing this as part of triagebot</p>



<a name="195862684"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195862684" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195862684">(Apr 30 2020 at 16:10)</a>:</h4>
<p>and a webhook</p>



<a name="195862692"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195862692" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195862692">(Apr 30 2020 at 16:10)</a>:</h4>
<p>that stores into the db</p>



<a name="195862731"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195862731" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195862731">(Apr 30 2020 at 16:11)</a>:</h4>
<p>it's not self-healing, in theory, but that's not horrible for the most part</p>



<a name="195863321"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195863321" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195863321">(Apr 30 2020 at 16:15)</a>:</h4>
<p>or potentially also, consider making triagebot's server issue the github requests and cache results in memory</p>



<a name="195863331"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195863331" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195863331">(Apr 30 2020 at 16:15)</a>:</h4>
<p>(or in the db, whatever)</p>



<a name="195863411"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195863411" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195863411">(Apr 30 2020 at 16:16)</a>:</h4>
<p>e.g. every 15 minutes at most we'd re-fetch all issues and PRs into the db</p>



<a name="195863452"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195863452" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195863452">(Apr 30 2020 at 16:16)</a>:</h4>
<p>I don’t know much about the GitHub API either, I dived into it just for this application too</p>



<a name="195863467"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195863467" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195863467">(Apr 30 2020 at 16:16)</a>:</h4>
<p>if we do it right it can be fairly cheap; you can tell github "hey I have this request result locally"</p>



<a name="195863531"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195863531" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195863531">(Apr 30 2020 at 16:17)</a>:</h4>
<p>but even if we have to issue, say, 100 queries every 15 minutes if someone is actively using it that's not bad</p>



<a name="195863554"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195863554" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195863554">(Apr 30 2020 at 16:17)</a>:</h4>
<p>I'm not sure if you're willing to accept 15 minute  latency though</p>



<a name="195863597"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195863597" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195863597">(Apr 30 2020 at 16:17)</a>:</h4>
<p>at some point you're just reimplementing github's db on the triagebot db which would be a bit unfortunate though :)</p>



<a name="195863665"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195863665" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195863665">(Apr 30 2020 at 16:18)</a>:</h4>
<p>if we can try to narrow down exactly the info we want that'd be helpful I think</p>



<a name="195901622"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195901622" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195901622">(Apr 30 2020 at 21:08)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> <span class="user-mention" data-user-id="255061">@LeSeulArtichaut</span> thanks for your thoughts</p>



<a name="195901670"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195901670" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195901670">(Apr 30 2020 at 21:08)</a>:</h4>
<p>an approach like what Mark has described seems interesting :)</p>



<a name="195901701"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195901701" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195901701">(Apr 30 2020 at 21:08)</a>:</h4>
<p>I'm going to try to keep my huge hack going and see what happens</p>



<a name="195901718"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195901718" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195901718">(Apr 30 2020 at 21:08)</a>:</h4>
<p>I just don't want to continue doing prioritization meetings manually :)</p>



<a name="195901745"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195901745" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195901745">(Apr 30 2020 at 21:08)</a>:</h4>
<p>if I can automate 75% of the meeting that's at least better</p>



<a name="195901805"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195901805" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195901805">(Apr 30 2020 at 21:09)</a>:</h4>
<p>fwiw the "resync the last ~30 commits" is the approach I went with for the bors commit list</p>



<a name="195901900"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195901900" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195901900">(Apr 30 2020 at 21:10)</a>:</h4>
<p>yeah that kind of latency is good enough for this stuff</p>



<a name="195901912"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195901912" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195901912">(Apr 30 2020 at 21:10)</a>:</h4>
<p>I meant, at least for my use case</p>



<a name="195901928"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195901928" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195901928">(Apr 30 2020 at 21:10)</a>:</h4>
<p>well, to be clear, the bors commit list has 0 latency</p>



<a name="195901929"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195901929" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195901929">(Apr 30 2020 at 21:10)</a>:</h4>
<p>there's some kind of latency on github per se</p>



<a name="195901958"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195901958" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195901958">(Apr 30 2020 at 21:10)</a>:</h4>
<p>but it is relatively self healing too</p>



<a name="195901963"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195901963" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195901963">(Apr 30 2020 at 21:10)</a>:</h4>
<p><a href="https://triage.rust-lang.org/bors-commit-list" title="https://triage.rust-lang.org/bors-commit-list">https://triage.rust-lang.org/bors-commit-list</a></p>



<a name="195902003"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902003" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902003">(Apr 30 2020 at 21:11)</a>:</h4>
<p>I tag things with beta-nominated and go to my search of issues beta-nominated and don't see those newly nominated ones for some minutes</p>



<a name="195902013"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902013" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902013">(Apr 30 2020 at 21:11)</a>:</h4>
<p>unsure how long but it takes time</p>



<a name="195902045"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902045" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902045">(Apr 30 2020 at 21:11)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116122">simulacrum</span> <a href="#narrow/stream/122651-general/topic/interacting.20with.20github.20api/near/195901963" title="#narrow/stream/122651-general/topic/interacting.20with.20github.20api/near/195901963">said</a>:</p>
<blockquote>
<p><a href="https://triage.rust-lang.org/bors-commit-list" title="https://triage.rust-lang.org/bors-commit-list">https://triage.rust-lang.org/bors-commit-list</a></p>
</blockquote>
<p>cool</p>



<a name="195902076"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902076" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902076">(Apr 30 2020 at 21:12)</a>:</h4>
<p>so -- e.g. if you want a list of beta-nominated prs -- triagebot could easily keep track of that for you</p>



<a name="195902137"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902137" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902137">(Apr 30 2020 at 21:12)</a>:</h4>
<p>at a http or JSON endpoint, w/e works</p>



<a name="195902207"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902207" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902207">(Apr 30 2020 at 21:12)</a>:</h4>
<p>yeah, seems like that's the best solution</p>



<a name="195902210"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902210" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902210">(Apr 30 2020 at 21:12)</a>:</h4>
<p>er, html or JSON</p>



<a name="195902222"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902222" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902222">(Apr 30 2020 at 21:13)</a>:</h4>
<p>obviously http</p>



<a name="195902244"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902244" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902244">(Apr 30 2020 at 21:13)</a>:</h4>
<p>I mean we <em>can</em> expose raw tcp sockets that just spew json at you if you connect</p>



<a name="195902260"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902260" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902260">(Apr 30 2020 at 21:13)</a>:</h4>
<p>but that seems like not what you want :)</p>



<a name="195902349"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902349" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902349">(Apr 30 2020 at 21:14)</a>:</h4>
<p>yeah no no</p>



<a name="195902384"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902384" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902384">(Apr 30 2020 at 21:14)</a>:</h4>
<p>just json over http would be enough</p>



<a name="195902423"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902423" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902423">(Apr 30 2020 at 21:14)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116266">Santiago Pastorino</span> <a href="#narrow/stream/122651-general/topic/interacting.20with.20github.20api/near/195902207" title="#narrow/stream/122651-general/topic/interacting.20with.20github.20api/near/195902207">said</a>:</p>
<blockquote>
<p>yeah, seems like that's the best solution</p>
</blockquote>
<p>as I was saying it seems like the best solution but also seems like there's a bit of work to do that :P</p>



<a name="195902438"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902438" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902438">(Apr 30 2020 at 21:15)</a>:</h4>
<p>and some interesting steps too</p>



<a name="195902452"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902452" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902452">(Apr 30 2020 at 21:15)</a>:</h4>
<p>like dealing with github pagination</p>



<a name="195902473"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902473" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902473">(Apr 30 2020 at 21:15)</a>:</h4>
<p>understanding how to store things on triagebot</p>



<a name="195902505"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902505" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902505">(Apr 30 2020 at 21:15)</a>:</h4>
<p>how to setup jobs that run every x minutes there</p>



<a name="195902519"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902519" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902519">(Apr 30 2020 at 21:15)</a>:</h4>
<p>and a bunch of other, etcs :)</p>



<a name="195902637"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902637" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902637">(Apr 30 2020 at 21:16)</a>:</h4>
<p>may be a good idea to create some kind of little project or maybe just add an issue with those steps so we can agree on an approach and maybe split tasks between volunteers/people interested</p>



<a name="195902652"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902652" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902652">(Apr 30 2020 at 21:16)</a>:</h4>
<p>well, no, so to be clear</p>



<a name="195902663"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902663" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902663">(Apr 30 2020 at 21:16)</a>:</h4>
<p>you don't need a cronjob or whatever</p>



<a name="195902694"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902694" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902694">(Apr 30 2020 at 21:16)</a>:</h4>
<p>on each webhook, you look if that added a beta-nominated label, and then stick that issue (along with whatever metadata you want) in the db</p>



<a name="195902707"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902707" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902707">(Apr 30 2020 at 21:17)</a>:</h4>
<p>and if it's remove you can drop it presumably</p>



<a name="195902732"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902732" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902732">(Apr 30 2020 at 21:17)</a>:</h4>
<p>that's the easy thing</p>



<a name="195902743"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902743" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902743">(Apr 30 2020 at 21:17)</a>:</h4>
<p>and most likely works 99% ofthe time</p>



<a name="195902845"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902845" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902845">(Apr 30 2020 at 21:18)</a>:</h4>
<p>unsure if I got the whole solution then</p>



<a name="195902862"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902862" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902862">(Apr 30 2020 at 21:18)</a>:</h4>
<p>but how do you prepopulate the issues db?</p>



<a name="195902923"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902923" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902923">(Apr 30 2020 at 21:18)</a>:</h4>
<p>well, you either a) don't, and just toggle the beta-nominated labels</p>



<a name="195902933"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902933" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902933">(Apr 30 2020 at 21:18)</a>:</h4>
<p>also that's not the only thing I want (beta noms), also need other labels included, issues that do not have certain labels, etc</p>



<a name="195902964"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902964" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902964">(Apr 30 2020 at 21:19)</a>:</h4>
<p>if you can prepare a list, that'd be helpful</p>



<a name="195902980"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902980" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902980">(Apr 30 2020 at 21:19)</a>:</h4>
<p>list of things needed?</p>



<a name="195902984"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195902984" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195902984">(Apr 30 2020 at 21:19)</a>:</h4>
<p>I personally think that this is easily solveable with triagebot</p>



<a name="195903004"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903004" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903004">(Apr 30 2020 at 21:19)</a>:</h4>
<p>list of the "queries" you want to run against github, yeah</p>



<a name="195903026"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903026" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903026">(Apr 30 2020 at 21:19)</a>:</h4>
<p>let me show that quickly</p>



<a name="195903064"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903064" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903064">(Apr 30 2020 at 21:20)</a>:</h4>
<p>all the searches starting here <a href="https://hackmd.io/pHb6eTZ2Sjy6XZmwXZHIBA?view#Remove-I-nominated-leftovers" title="https://hackmd.io/pHb6eTZ2Sjy6XZmwXZHIBA?view#Remove-I-nominated-leftovers">https://hackmd.io/pHb6eTZ2Sjy6XZmwXZHIBA?view#Remove-I-nominated-leftovers</a></p>



<a name="195903118"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903118" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903118">(Apr 30 2020 at 21:20)</a>:</h4>
<p>mainly filters about labels</p>



<a name="195903143"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903143" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903143">(Apr 30 2020 at 21:20)</a>:</h4>
<p>issues that include certain labels and exclude certain other labels</p>



<a name="195903149"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903149" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903149">(Apr 30 2020 at 21:20)</a>:</h4>
<p>issues and prs</p>



<a name="195903153"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903153" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903153">(Apr 30 2020 at 21:20)</a>:</h4>
<p>only issues</p>



<a name="195903156"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903156" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903156">(Apr 30 2020 at 21:20)</a>:</h4>
<p>things closed and open</p>



<a name="195903166"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903166" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903166">(Apr 30 2020 at 21:20)</a>:</h4>
<p>combinations of those things in general</p>



<a name="195903285"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903285" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903285">(Apr 30 2020 at 21:21)</a>:</h4>
<p>how do you use this information, though? i.e. why aren't the links good enough?</p>



<a name="195903354"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903354" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903354">(Apr 30 2020 at 21:22)</a>:</h4>
<p>so the use case is ...</p>



<a name="195903403"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903403" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903403">(Apr 30 2020 at 21:22)</a>:</h4>
<p><a href="#narrow/stream/227806-t-compiler.2Fwg-prioritization/topic/pre-meeting.20triage.202020-04-30.20.2354818/near/195756076" title="#narrow/stream/227806-t-compiler.2Fwg-prioritization/topic/pre-meeting.20triage.202020-04-30.20.2354818/near/195756076">https://rust-lang.zulipchat.com/#narrow/stream/227806-t-compiler.2Fwg-prioritization/topic/pre-meeting.20triage.202020-04-30.20.2354818/near/195756076</a></p>



<a name="195903467"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903467" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903467">(Apr 30 2020 at 21:23)</a>:</h4>
<p>I use this hackmd <a href="https://hackmd.io/pHb6eTZ2Sjy6XZmwXZHIBA?view#Remove-I-nominated-leftovers" title="https://hackmd.io/pHb6eTZ2Sjy6XZmwXZHIBA?view#Remove-I-nominated-leftovers">https://hackmd.io/pHb6eTZ2Sjy6XZmwXZHIBA?view#Remove-I-nominated-leftovers</a> to run the meeting</p>



<a name="195903478"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903478" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903478">(Apr 30 2020 at 21:23)</a>:</h4>
<p>go over each section and paste those links</p>



<a name="195903487"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903487" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903487">(Apr 30 2020 at 21:23)</a>:</h4>
<p>so we need to open them</p>



<a name="195903497"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903497" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903497">(Apr 30 2020 at 21:23)</a>:</h4>
<p>check if the list is empty or not</p>



<a name="195903506"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903506" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903506">(Apr 30 2020 at 21:23)</a>:</h4>
<p>so, let me try to phrase my understanding:</p>
<p>you go to the link, and look over the issues -- your goal is to take some action</p>



<a name="195903507"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903507" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903507">(Apr 30 2020 at 21:23)</a>:</h4>
<p>then list them</p>



<a name="195903526"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903526" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903526">(Apr 30 2020 at 21:23)</a>:</h4>
<p>but you want to do so publicly, so ideally you'd not be manually copy pasting links and whatnot</p>



<a name="195903528"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903528" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903528">(Apr 30 2020 at 21:23)</a>:</h4>
<p>with markdown format, in some cases we need to add those to the agenda</p>



<a name="195903550"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903550" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903550">(Apr 30 2020 at 21:24)</a>:</h4>
<p>we spend literally 30 minutos on this each meeting</p>



<a name="195903627"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903627" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903627">(Apr 30 2020 at 21:24)</a>:</h4>
<p>is not only copy pasting the links but  also parsing them</p>



<a name="195903629"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903629" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903629">(Apr 30 2020 at 21:24)</a>:</h4>
<p>let me show you</p>



<a name="195903630"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903630" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903630">(Apr 30 2020 at 21:24)</a>:</h4>
<p>because I have a running thing</p>



<a name="195903683"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903683" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903683">(Apr 30 2020 at 21:25)</a>:</h4>
<div class="codehilite"><pre><span></span><code>     Running `target/debug/prioritization`

### Remove I-nominated leftovers

- [Unnominate leftover I-nominated](https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3AI-nominated+label%3AT-compiler)
    - Remove `I-nominated` tag from issues discussed on the last meeting.


Unsoundness due to variance of trait objects WRT associated types [#71550](https://github.com/rust-lang/rust/issues/71550)
Warn on useless bindings like `let v2 = v1.sort();` [#71432](https://github.com/rust-lang/rust/issues/71432)
Accept tuple.0.0 as tuple indexing (take 2) [#71322](https://github.com/rust-lang/rust/pull/71322)
repr(packed) allows invalid unaligned loads [#27060](https://github.com/rust-lang/rust/issues/27060)

### Unprioritized I-prioritize

Go over unprioritized I-prioritize issues. We should also go over I-nominated meanwhile we migrate, we were using I-nominated sometimes as an implicit request for prioritization.

1. [No team assigned](https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+label%3AI-prioritize+-label%3AT-compiler+-label%3AT-libs+-label%3AT-infra+-label%3A
T-rustdoc+-label%3AT-lang)
    - Add T-compiler tag when it corresponds.

Empty

2. [T-compiler](https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+label%3AT-compiler+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+label%3AI-prioritize)
    - Prioritize issues and remove nomination of the ones not worth discussing.
    - Tag regressions accordingly.
    - Ping appropriate people and/or [ICE-breakers](https://rustc-dev-guide.rust-lang.org/ice-breaker/about.html#tagging-an-issue-for-an-ice-breaker-group).

Empty

3. [All teams](https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+label%3AI-prioritize)
    - No action required. It&#39;s nice to look at this for comparison.

Empty
</code></pre></div>



<a name="195903735"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903735" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903735">(Apr 30 2020 at 21:25)</a>:</h4>
<p>this is more or less what the tool I'm building does</p>



<a name="195903741"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903741" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903741">(Apr 30 2020 at 21:25)</a>:</h4>
<p>and the idea would be to paste that into zulip?</p>



<a name="195903754"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903754" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903754">(Apr 30 2020 at 21:25)</a>:</h4>
<h3>Remove I-nominated leftovers</h3>
<ul>
<li><a href="https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3AI-nominated+label%3AT-compiler" title="https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3AI-nominated+label%3AT-compiler">Unnominate leftover I-nominated</a><br>
    - Remove <code>I-nominated</code> tag from issues discussed on the last meeting.</li>
</ul>
<p>Unsoundness due to variance of trait objects WRT associated types <a href="https://github.com/rust-lang/rust/issues/71550" title="https://github.com/rust-lang/rust/issues/71550">#71550</a><br>
Warn on useless bindings like <code>let v2 = v1.sort();</code> <a href="https://github.com/rust-lang/rust/issues/71432" title="https://github.com/rust-lang/rust/issues/71432">#71432</a><br>
Accept tuple.0.0 as tuple indexing (take 2) <a href="https://github.com/rust-lang/rust/pull/71322" title="https://github.com/rust-lang/rust/pull/71322">#71322</a><br>
repr(packed) allows invalid unaligned loads <a href="https://github.com/rust-lang/rust/issues/27060" title="https://github.com/rust-lang/rust/issues/27060">#27060</a></p>
<h3>Unprioritized I-prioritize</h3>
<p>Go over unprioritized I-prioritize issues. We should also go over I-nominated meanwhile we migrate, we were using I-nominated sometimes as an implicit request for prioritization.</p>
<ol>
<li><a href="https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+label%3AI-prioritize+-label%3AT-compiler+-label%3AT-libs+-label%3AT-infra+-label%3A
T-rustdoc+-label%3AT-lang" title="https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+label%3AI-prioritize+-label%3AT-compiler+-label%3AT-libs+-label%3AT-infra+-label%3A
T-rustdoc+-label%3AT-lang">No team assigned</a><br>
    - Add T-compiler tag when it corresponds.</li>
</ol>
<p>Empty</p>
<ol start="2">
<li><a href="https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+label%3AT-compiler+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+label%3AI-prioritize" title="https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+label%3AT-compiler+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+label%3AI-prioritize">T-compiler</a><br>
    - Prioritize issues and remove nomination of the ones not worth discussing.<br>
    - Tag regressions accordingly.<br>
    - Ping appropriate people and/or <a href="https://rustc-dev-guide.rust-lang.org/ice-breaker/about.html#tagging-an-issue-for-an-ice-breaker-group" title="https://rustc-dev-guide.rust-lang.org/ice-breaker/about.html#tagging-an-issue-for-an-ice-breaker-group">ICE-breakers</a>.</li>
</ol>
<p>Empty</p>
<ol start="3">
<li><a href="https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+label%3AI-prioritize" title="https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+label%3AI-prioritize">All teams</a><br>
    - No action required. It's nice to look at this for comparison.</li>
</ol>
<p>Empty</p>



<a name="195903758"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903758" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903758">(Apr 30 2020 at 21:25)</a>:</h4>
<p>yes and or to the agenda</p>



<a name="195903767"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903767" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903767">(Apr 30 2020 at 21:25)</a>:</h4>
<p>aha, okay</p>



<a name="195903828"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903828" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903828">(Apr 30 2020 at 21:26)</a>:</h4>
<p>ideally that could be run using commands here</p>



<a name="195903851"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903851" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903851">(Apr 30 2020 at 21:26)</a>:</h4>
<p>like @rustbot start-prioritization-meeting</p>



<a name="195903855"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903855" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903855">(Apr 30 2020 at 21:26)</a>:</h4>
<p>@rustbot next</p>



<a name="195903856"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903856" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903856">(Apr 30 2020 at 21:26)</a>:</h4>
<p>yeah, yeah, I see...</p>



<a name="195903870"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903870" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903870">(Apr 30 2020 at 21:26)</a>:</h4>
<p>and then we see the next set of things and so on</p>



<a name="195903886"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903886" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903886">(Apr 30 2020 at 21:26)</a>:</h4>
<p>maybe if we have 4 empty lists in a row the thing just skips everything</p>



<a name="195903895"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903895" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903895">(Apr 30 2020 at 21:26)</a>:</h4>
<p>it may seem silly but we spend a lot of time on this :)</p>



<a name="195903923"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903923" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903923">(Apr 30 2020 at 21:27)</a>:</h4>
<p>I think doing it in triagebot is the way to go honestly, you're going to end up copy/pasting a bunch if it's from the command line</p>



<a name="195903931"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903931" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903931">(Apr 30 2020 at 21:27)</a>:</h4>
<p>and then just ping triagebot here</p>



<a name="195903936"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903936" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903936">(Apr 30 2020 at 21:27)</a>:</h4>
<p>this is why I'm saying I'm building something very bad, ugly but that would do some of the work needed</p>



<a name="195903963"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195903963" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195903963">(Apr 30 2020 at 21:27)</a>:</h4>
<p>so how does this sound: you probably are good with a partial solution to start, too</p>



<a name="195904047"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904047" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904047">(Apr 30 2020 at 21:28)</a>:</h4>
<p>I can try to get <a href="https://hackmd.io/pHb6eTZ2Sjy6XZmwXZHIBA?view#Remove-I-nominated-leftovers" title="https://hackmd.io/pHb6eTZ2Sjy6XZmwXZHIBA?view#Remove-I-nominated-leftovers">https://hackmd.io/pHb6eTZ2Sjy6XZmwXZHIBA?view#Remove-I-nominated-leftovers</a> specifically working</p>



<a name="195904048"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904048" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904048">(Apr 30 2020 at 21:28)</a>:</h4>
<p>I'm doing it in triagebot, just added a src/bin/prioritization</p>



<a name="195904061"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904061" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904061">(Apr 30 2020 at 21:28)</a>:</h4>
<p>well I meant as a zulip command, but sure</p>



<a name="195904079"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904079" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904079">(Apr 30 2020 at 21:28)</a>:</h4>
<p>and then you can use that as a template for how to do the rest?</p>



<a name="195904107"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904107" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904107">(Apr 30 2020 at 21:28)</a>:</h4>
<p>e.g. you'd do @triagebot leftover-noms</p>



<a name="195904126"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904126" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904126">(Apr 30 2020 at 21:28)</a>:</h4>
<p>sure, everything helps</p>



<a name="195904148"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904148" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904148">(Apr 30 2020 at 21:29)</a>:</h4>
<p>and it'd paste:</p>
<h3>Remove I-nominated leftovers</h3>
<ul>
<li><a href="https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3AI-nominated+label%3AT-compiler" title="https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3AI-nominated+label%3AT-compiler">Unnominate leftover I-nominated</a><br>
    - Remove <code>I-nominated</code> tag from issues discussed on the last meeting.</li>
</ul>
<p>Unsoundness due to variance of trait objects WRT associated types <a href="https://github.com/rust-lang/rust/issues/71550" title="https://github.com/rust-lang/rust/issues/71550">#71550</a><br>
Warn on useless bindings like <code>let v2 = v1.sort();</code> <a href="https://github.com/rust-lang/rust/issues/71432" title="https://github.com/rust-lang/rust/issues/71432">#71432</a><br>
Accept tuple.0.0 as tuple indexing (take 2) <a href="https://github.com/rust-lang/rust/pull/71322" title="https://github.com/rust-lang/rust/pull/71322">#71322</a><br>
repr(packed) allows invalid unaligned loads <a href="https://github.com/rust-lang/rust/issues/27060" title="https://github.com/rust-lang/rust/issues/27060">#27060</a></p>



<a name="195904158"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904158" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904158">(Apr 30 2020 at 21:29)</a>:</h4>
<p>but I don't have an issue with that specifically</p>



<a name="195904197"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904197" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904197">(Apr 30 2020 at 21:29)</a>:</h4>
<p>I think we started to talk now about something different :)</p>



<a name="195904220"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904220" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904220">(Apr 30 2020 at 21:29)</a>:</h4>
<p>so the main problem is that I don't have a way to get prs</p>



<a name="195904221"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904221" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904221">(Apr 30 2020 at 21:29)</a>:</h4>
<p>I'm a bit confused :)</p>
<p>I thought you were saying that you weren't sure how to do this</p>



<a name="195904245"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904245" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904245">(Apr 30 2020 at 21:29)</a>:</h4>
<p>how are prs different from this?</p>



<a name="195904247"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904247" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904247">(Apr 30 2020 at 21:29)</a>:</h4>
<p>so the main problem I was talking about is that I'd need to get all prs</p>



<a name="195904351"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904351" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904351">(Apr 30 2020 at 21:30)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116266">Santiago Pastorino</span> <a href="#narrow/stream/122651-general/topic/interacting.20with.20github.20api/near/195862361" title="#narrow/stream/122651-general/topic/interacting.20with.20github.20api/near/195862361">said</a>:</p>
<blockquote>
<ol start="2">
<li>there's no way to filter prs by things that contain a certain label <a href="https://developer.github.com/v3/pulls/#parameters" title="https://developer.github.com/v3/pulls/#parameters">https://developer.github.com/v3/pulls/#parameters</a>. My solution will be to bring all the prs and filter manually but that seems crazy</li>
</ol>
</blockquote>
<p>jump to the first two sentences of the topic</p>



<a name="195904361"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904361" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904361">(Apr 30 2020 at 21:30)</a>:</h4>
<p>that's in particular one of the problems</p>



<a name="195904388"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904388" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904388">(Apr 30 2020 at 21:30)</a>:</h4>
<p>I thought you were saying that we could solve this by storing issues and prs on a database and syncronizing them frequently</p>



<a name="195904455"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904455" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904455">(Apr 30 2020 at 21:31)</a>:</h4>
<p>yes you can do that</p>



<a name="195904468"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904468" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904468">(Apr 30 2020 at 21:31)</a>:</h4>
<p>but actually, I think you can just use the issues endpoint</p>



<a name="195904487"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904487" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904487">(Apr 30 2020 at 21:31)</a>:</h4>
<p>github will return both prs and issues from it iirc</p>



<a name="195904497"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904497" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904497">(Apr 30 2020 at 21:31)</a>:</h4>
<p>nope :)</p>



<a name="195904514"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904514" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904514">(Apr 30 2020 at 21:31)</a>:</h4>
<blockquote>
<p>Note: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the pull_request key.</p>
</blockquote>



<a name="195904593"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904593" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904593">(Apr 30 2020 at 21:32)</a>:</h4>
<p>really? if that's true all my problems are solved</p>



<a name="195904610"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904610" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904610">(Apr 30 2020 at 21:32)</a>:</h4>
<p>oh okay</p>



<a name="195904614"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904614" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904614">(Apr 30 2020 at 21:32)</a>:</h4>
<p>well :)</p>



<a name="195904641"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904641" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904641">(Apr 30 2020 at 21:32)</a>:</h4>
<p>to my knowledge it is true</p>



<a name="195904662"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904662" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904662">(Apr 30 2020 at 21:33)</a>:</h4>
<p>the may part confuses me but ... <span aria-label="+1" class="emoji emoji-1f44d" role="img" title="+1">:+1:</span></p>



<a name="195904697"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904697" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904697">(Apr 30 2020 at 21:33)</a>:</h4>
<p>the other problem is filtering out some labels but that can be done programmatically</p>



<a name="195904705"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904705" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904705">(Apr 30 2020 at 21:33)</a>:</h4>
<p>well obviously it can return just one or just the other depending on your query</p>



<a name="195904713"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904713" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904713">(Apr 30 2020 at 21:33)</a>:</h4>
<p>still we can talk about how to do the rest</p>



<a name="195904820"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904820" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904820">(Apr 30 2020 at 21:34)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116122">simulacrum</span> <a href="#narrow/stream/122651-general/topic/interacting.20with.20github.20api/near/195904047" title="#narrow/stream/122651-general/topic/interacting.20with.20github.20api/near/195904047">said</a>:</p>
<blockquote>
<p>I can try to get <a href="https://hackmd.io/pHb6eTZ2Sjy6XZmwXZHIBA?view#Remove-I-nominated-leftovers" title="https://hackmd.io/pHb6eTZ2Sjy6XZmwXZHIBA?view#Remove-I-nominated-leftovers">https://hackmd.io/pHb6eTZ2Sjy6XZmwXZHIBA?view#Remove-I-nominated-leftovers</a> specifically working</p>
</blockquote>
<p>if it's easy to do this for you, may help <span aria-label="+1" class="emoji emoji-1f44d" role="img" title="+1">:+1:</span></p>



<a name="195904830"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904830" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904830">(Apr 30 2020 at 21:34)</a>:</h4>
<p>mainly to reduce the amount of work needed <span aria-label="slight smile" class="emoji emoji-1f642" role="img" title="slight smile">:slight_smile:</span></p>



<a name="195904838"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904838" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904838">(Apr 30 2020 at 21:34)</a>:</h4>
<p>but only if it's easy for you</p>



<a name="195904881"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904881" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904881">(Apr 30 2020 at 21:35)</a>:</h4>
<p>I'm more focused on something text based because I want to have something for the next meeting and I don't have a lot of time to play with this</p>



<a name="195904895"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904895" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904895">(Apr 30 2020 at 21:35)</a>:</h4>
<p>so if it's easy and you can would be great</p>



<a name="195904929"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904929" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904929">(Apr 30 2020 at 21:35)</a>:</h4>
<p>the problem I guess is setting up something with state</p>



<a name="195904952"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195904952" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195904952">(Apr 30 2020 at 21:35)</a>:</h4>
<p>I can probably get the state thing going</p>



<a name="195905035"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905035" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905035">(Apr 30 2020 at 21:36)</a>:</h4>
<p>where we can do <code>@rustbot start-meeting</code> and then continue doing calling <code>@rustbot next</code></p>



<a name="195905051"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905051" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905051">(Apr 30 2020 at 21:36)</a>:</h4>
<p>e.g. something like a wrapper that takes in a <code>impl Iterator&lt;Item=String&gt;</code> and on <code>rustbot next</code> it'll paste the next string</p>



<a name="195905063"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905063" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905063">(Apr 30 2020 at 21:36)</a>:</h4>
<p>and at the end with a <code>@rustbot end-meeting</code> it prints the agenda or something like that</p>



<a name="195905071"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905071" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905071">(Apr 30 2020 at 21:36)</a>:</h4>
<p>would that be helpful?</p>



<a name="195905104"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905104" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905104">(Apr 30 2020 at 21:37)</a>:</h4>
<p>yeah that's exactly what I was thinking about doing</p>



<a name="195905118"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905118" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905118">(Apr 30 2020 at 21:37)</a>:</h4>
<p>okay, yeah, I can do that no problem I think</p>



<a name="195905143"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905143" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905143">(Apr 30 2020 at 21:37)</a>:</h4>
<p>cool, thanks a lot</p>



<a name="195905160"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905160" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905160">(Apr 30 2020 at 21:37)</a>:</h4>
<p>I'm going to do the rest and hopefully we can mix up the pieces and have something soon</p>



<a name="195905183"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905183" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905183">(Apr 30 2020 at 21:38)</a>:</h4>
<p><span class="user-mention" data-user-id="116266">@Santiago Pastorino</span> do you need a iterator, specifically? or do you think just a Vec&lt;String&gt; would work too?</p>



<a name="195905225"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905225" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905225">(Apr 30 2020 at 21:38)</a>:</h4>
<p>basically, can the meeting run based on a pre-generated agenda</p>



<a name="195905237"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905237" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905237">(Apr 30 2020 at 21:38)</a>:</h4>
<p>instead of one that (in theory) could dynamically update as we go</p>



<a name="195905409"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905409" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905409">(Apr 30 2020 at 21:40)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116122">simulacrum</span> <a href="#narrow/stream/122651-general/topic/interacting.20with.20github.20api/near/195905225" title="#narrow/stream/122651-general/topic/interacting.20with.20github.20api/near/195905225">said</a>:</p>
<blockquote>
<p>basically, can the meeting run based on a pre-generated agenda</p>
</blockquote>
<p>the agenda is fixed and pre-generated</p>



<a name="195905433"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905433" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905433">(Apr 30 2020 at 21:40)</a>:</h4>
<p>so the confusing thing is that we have 2 agendas, let me explain</p>



<a name="195905459"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905459" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905459">(Apr 30 2020 at 21:40)</a>:</h4>
<p>there's pre-triage meeting which has a fixed amount of steps (we could call that pre-triage agenda)</p>



<a name="195905479"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905479" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905479">(Apr 30 2020 at 21:41)</a>:</h4>
<p>and that's documented here <a href="https://hackmd.io/pHb6eTZ2Sjy6XZmwXZHIBA?view#Pre-triage" title="https://hackmd.io/pHb6eTZ2Sjy6XZmwXZHIBA?view#Pre-triage">https://hackmd.io/pHb6eTZ2Sjy6XZmwXZHIBA?view#Pre-triage</a></p>



<a name="195905510"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905510" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905510">(Apr 30 2020 at 21:41)</a>:</h4>
<p>that pre-triage meeting ends building a triage agenda</p>



<a name="195905531"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905531" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905531">(Apr 30 2020 at 21:41)</a>:</h4>
<p>and that triage agenda also have a fixed amount of things too</p>



<a name="195905565"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905565" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905565">(Apr 30 2020 at 21:41)</a>:</h4>
<p>so there's no dynamic updates as we go on any agenda</p>



<a name="195905695"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195905695" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195905695">(Apr 30 2020 at 21:42)</a>:</h4>
<p>okay, so on my end I'll just have some command that can run a Rust function (or functions, depending, for each agenda etc) returning <code>Vec&lt;String&gt;</code> and then can make progress through that</p>



<a name="195906264"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906264" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906264">(Apr 30 2020 at 21:47)</a>:</h4>
<p><span aria-label="+1" class="emoji emoji-1f44d" role="img" title="+1">:+1:</span></p>



<a name="195906278"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906278" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906278">(Apr 30 2020 at 21:47)</a>:</h4>
<p>I have most of the rest of the setup done</p>



<a name="195906286"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906286" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906286">(Apr 30 2020 at 21:47)</a>:</h4>
<p>but it needs love and some more work</p>



<a name="195906293"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906293" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906293">(Apr 30 2020 at 21:47)</a>:</h4>
<p>:D</p>



<a name="195906434"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906434" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906434">(Apr 30 2020 at 21:49)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> I have things like this</p>



<a name="195906440"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906440" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906440">(Apr 30 2020 at 21:49)</a>:</h4>
<div class="codehilite"><pre><span></span><code><span class="w">    </span><span class="k">pub</span><span class="w"> </span><span class="k">async</span><span class="w"> </span><span class="k">fn</span> <span class="nf">i_nominated_leftovers</span><span class="p">(</span><span class="o">&amp;</span><span class="bp">self</span><span class="p">,</span><span class="w"> </span><span class="n">client</span>: <span class="kp">&amp;</span><span class="nc">GithubClient</span><span class="p">)</span><span class="w"> </span>-&gt; <span class="nc">anyhow</span>::<span class="nb">Result</span><span class="o">&lt;</span><span class="nb">Vec</span><span class="o">&lt;</span><span class="n">Issue</span><span class="o">&gt;&gt;</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">        </span><span class="bp">self</span><span class="p">.</span><span class="n">get_issues</span><span class="p">(</span><span class="w"></span>
<span class="w">            </span><span class="n">client</span><span class="p">,</span><span class="w"></span>
<span class="w">            </span><span class="o">&amp;</span><span class="p">[</span><span class="s">&quot;state=open&quot;</span><span class="p">],</span><span class="w"></span>
<span class="w">            </span><span class="o">&amp;</span><span class="p">[</span><span class="w"></span>
<span class="w">                </span><span class="o">&amp;</span><span class="n">Label</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">                    </span><span class="n">name</span>: <span class="s">&quot;I-nominated&quot;</span><span class="p">.</span><span class="n">to_string</span><span class="p">(),</span><span class="w"></span>
<span class="w">                </span><span class="p">},</span><span class="w"></span>
<span class="w">                </span><span class="o">&amp;</span><span class="n">Label</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">                    </span><span class="n">name</span>: <span class="s">&quot;T-compiler&quot;</span><span class="p">.</span><span class="n">to_string</span><span class="p">(),</span><span class="w"></span>
<span class="w">                </span><span class="p">},</span><span class="w"></span>
<span class="w">            </span><span class="p">],</span><span class="w"></span>
<span class="w">            </span><span class="o">&amp;</span><span class="p">[],</span><span class="w"></span>
<span class="w">        </span><span class="p">)</span><span class="w"></span>
<span class="w">        </span><span class="p">.</span><span class="k">await</span><span class="w"></span>
<span class="w">    </span><span class="p">}</span><span class="w"></span>
</code></pre></div>



<a name="195906466"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906466" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906466">(Apr 30 2020 at 21:49)</a>:</h4>
<p>one thing though, that I think it's already set up is ...</p>



<a name="195906487"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906487" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906487">(Apr 30 2020 at 21:49)</a>:</h4>
<p>it would be better to move all this repetitions to a toml file</p>



<a name="195906493"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906493" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906493">(Apr 30 2020 at 21:49)</a>:</h4>
<p>I'll likely have something by late friday or mid-weekend or so</p>



<a name="195906507"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906507" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906507">(Apr 30 2020 at 21:49)</a>:</h4>
<p>I would start by duplicating the code</p>



<a name="195906561"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906561" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906561">(Apr 30 2020 at 21:50)</a>:</h4>
<p>yeah this is what I've done</p>



<a name="195906563"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906563" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906563">(Apr 30 2020 at 21:50)</a>:</h4>
<p>we can clean it up and toml it later</p>



<a name="195906571"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906571" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906571">(Apr 30 2020 at 21:50)</a>:</h4>
<p>everything is kind of duplicated</p>



<a name="195906577"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906577" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906577">(Apr 30 2020 at 21:50)</a>:</h4>
<p>don't worry about that for now</p>



<a name="195906593"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906593" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906593">(Apr 30 2020 at 21:50)</a>:</h4>
<p>but I'd end up with more lines of code that rustc itself I fear <span aria-label="joy" class="emoji emoji-1f602" role="img" title="joy">:joy:</span></p>



<a name="195906623"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906623" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906623">(Apr 30 2020 at 21:50)</a>:</h4>
<div class="codehilite"><pre><span></span><code><span class="w">    </span><span class="sd">/// https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+label%3AI-prioritize+-label%3AT-compiler+-label%3AT-libs+-label%3AT-infra+-label%3AT-rustdoc+-label%3AT-lang</span>
<span class="w">    </span><span class="k">pub</span><span class="w"> </span><span class="k">async</span><span class="w"> </span><span class="k">fn</span> <span class="nf">unpri_i_prioritize_no_team</span><span class="p">(</span><span class="w"></span>
<span class="w">        </span><span class="o">&amp;</span><span class="bp">self</span><span class="p">,</span><span class="w"></span>
<span class="w">        </span><span class="n">client</span>: <span class="kp">&amp;</span><span class="nc">GithubClient</span><span class="p">,</span><span class="w"></span>
<span class="w">    </span><span class="p">)</span><span class="w"> </span>-&gt; <span class="nc">anyhow</span>::<span class="nb">Result</span><span class="o">&lt;</span><span class="nb">Vec</span><span class="o">&lt;</span><span class="n">Issue</span><span class="o">&gt;&gt;</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">        </span><span class="c1">// FIXME filter labels</span>
<span class="w">        </span><span class="bp">self</span><span class="p">.</span><span class="n">get_issues</span><span class="p">(</span><span class="w"></span>
<span class="w">            </span><span class="n">client</span><span class="p">,</span><span class="w"></span>
<span class="w">            </span><span class="o">&amp;</span><span class="p">[</span><span class="s">&quot;state=open&quot;</span><span class="p">],</span><span class="w"></span>
<span class="w">            </span><span class="o">&amp;</span><span class="p">[</span><span class="o">&amp;</span><span class="n">Label</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">                </span><span class="n">name</span>: <span class="s">&quot;I-prioritize&quot;</span><span class="p">.</span><span class="n">to_string</span><span class="p">(),</span><span class="w"></span>
<span class="w">            </span><span class="p">}],</span><span class="w"></span>
<span class="w">            </span><span class="o">&amp;</span><span class="p">[</span><span class="w"></span>
<span class="w">                </span><span class="o">&amp;</span><span class="n">Label</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">                    </span><span class="n">name</span>: <span class="s">&quot;P-critical&quot;</span><span class="p">.</span><span class="n">to_string</span><span class="p">(),</span><span class="w"></span>
<span class="w">                </span><span class="p">},</span><span class="w"></span>
<span class="w">                </span><span class="o">&amp;</span><span class="n">Label</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">                    </span><span class="n">name</span>: <span class="s">&quot;P-high&quot;</span><span class="p">.</span><span class="n">to_string</span><span class="p">(),</span><span class="w"></span>
<span class="w">                </span><span class="p">},</span><span class="w"></span>
<span class="w">                </span><span class="o">&amp;</span><span class="n">Label</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">                    </span><span class="n">name</span>: <span class="s">&quot;P-medium&quot;</span><span class="p">.</span><span class="n">to_string</span><span class="p">(),</span><span class="w"></span>
<span class="w">                </span><span class="p">},</span><span class="w"></span>
<span class="w">                </span><span class="o">&amp;</span><span class="n">Label</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">                    </span><span class="n">name</span>: <span class="s">&quot;P-low&quot;</span><span class="p">.</span><span class="n">to_string</span><span class="p">(),</span><span class="w"></span>
<span class="w">                </span><span class="p">},</span><span class="w"></span>
<span class="w">                </span><span class="o">&amp;</span><span class="n">Label</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">                    </span><span class="n">name</span>: <span class="s">&quot;T-compiler&quot;</span><span class="p">.</span><span class="n">to_string</span><span class="p">(),</span><span class="w"></span>
<span class="w">                </span><span class="p">},</span><span class="w"></span>
<span class="w">                </span><span class="o">&amp;</span><span class="n">Label</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">                    </span><span class="n">name</span>: <span class="s">&quot;T-libs&quot;</span><span class="p">.</span><span class="n">to_string</span><span class="p">(),</span><span class="w"></span>
<span class="w">                </span><span class="p">},</span><span class="w"></span>
<span class="w">                </span><span class="o">&amp;</span><span class="n">Label</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">                    </span><span class="n">name</span>: <span class="s">&quot;T-infra&quot;</span><span class="p">.</span><span class="n">to_string</span><span class="p">(),</span><span class="w"></span>
<span class="w">                </span><span class="p">},</span><span class="w"></span>
<span class="w">                </span><span class="o">&amp;</span><span class="n">Label</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">                    </span><span class="n">name</span>: <span class="s">&quot;T-rustdoc&quot;</span><span class="p">.</span><span class="n">to_string</span><span class="p">(),</span><span class="w"></span>
<span class="w">                </span><span class="p">},</span><span class="w"></span>
<span class="w">                </span><span class="o">&amp;</span><span class="n">Label</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">                    </span><span class="n">name</span>: <span class="s">&quot;T-lang&quot;</span><span class="p">.</span><span class="n">to_string</span><span class="p">(),</span><span class="w"></span>
<span class="w">                </span><span class="p">},</span><span class="w"></span>
<span class="w">            </span><span class="p">],</span><span class="w"></span>
<span class="w">        </span><span class="p">)</span><span class="w"></span>
<span class="w">        </span><span class="p">.</span><span class="k">await</span><span class="w"></span>
<span class="w">    </span><span class="p">}</span><span class="w"></span>
</code></pre></div>



<a name="195906633"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906633" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906633">(Apr 30 2020 at 21:51)</a>:</h4>
<p>and so on</p>



<a name="195906658"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906658" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906658">(Apr 30 2020 at 21:51)</a>:</h4>
<p>then there are the messages we print</p>



<a name="195906664"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906664" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906664">(Apr 30 2020 at 21:51)</a>:</h4>
<p>all that is pure repetition</p>



<a name="195906673"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906673" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906673">(Apr 30 2020 at 21:51)</a>:</h4>
<p><span aria-label="shrug" class="emoji emoji-1f937" role="img" title="shrug">:shrug:</span> lines of code don't bother me</p>



<a name="195906686"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906686" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906686">(Apr 30 2020 at 21:51)</a>:</h4>
<p>hehehe</p>



<a name="195906698"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906698" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906698">(Apr 30 2020 at 21:51)</a>:</h4>
<p>I would get a MVP out the door</p>



<a name="195906708"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906708" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906708">(Apr 30 2020 at 21:51)</a>:</h4>
<p>that makes me get stuck</p>



<a name="195906715"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906715" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906715">(Apr 30 2020 at 21:51)</a>:</h4>
<p>really</p>



<a name="195906738"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906738" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906738">(Apr 30 2020 at 21:51)</a>:</h4>
<p>I see that amount of repetition and get paralyzed</p>



<a name="195906798"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906798" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906798">(Apr 30 2020 at 21:52)</a>:</h4>
<p>anyway, will get this going but there's a toml file where we place this kind of things in triagebot, right?</p>



<a name="195906808"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906808" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906808">(Apr 30 2020 at 21:52)</a>:</h4>
<p>ah, no, not really</p>



<a name="195906819"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906819" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906819">(Apr 30 2020 at 21:52)</a>:</h4>
<p>we don't have global config anywhere</p>



<a name="195906836"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906836" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906836">(Apr 30 2020 at 21:52)</a>:</h4>
<p>but I'd not use toml for now anyway</p>



<a name="195906875"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906875" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906875">(Apr 30 2020 at 21:53)</a>:</h4>
<p>couldn't this be used <a href="https://github.com/rust-lang/triagebot/blob/master/triagebot.toml" title="https://github.com/rust-lang/triagebot/blob/master/triagebot.toml">https://github.com/rust-lang/triagebot/blob/master/triagebot.toml</a> ?</p>



<a name="195906906"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906906" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906906">(Apr 30 2020 at 21:53)</a>:</h4>
<p>make a helper function that goes from <code>&amp;[&amp;'static str]</code> to <code>Vec&lt;Label&gt;</code> and that'll already massively help</p>



<a name="195906944"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906944" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906944">(Apr 30 2020 at 21:53)</a>:</h4>
<p>well, no, not really, that's the config for the triagebot repo <em>itself</em></p>



<a name="195906995"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195906995" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195906995">(Apr 30 2020 at 21:54)</a>:</h4>
<p><span aria-label="+1" class="emoji emoji-1f44d" role="img" title="+1">:+1:</span></p>



<a name="195907001"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195907001" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195907001">(Apr 30 2020 at 21:54)</a>:</h4>
<p>will see :)</p>



<a name="195907014"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195907014" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195907014">(Apr 30 2020 at 21:54)</a>:</h4>
<p>but may end adding a file somewhere</p>



<a name="195907064"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195907064" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195907064">(Apr 30 2020 at 21:55)</a>:</h4>
<p>okay</p>



<a name="195989204"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/195989204" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> XAMPPRocky <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#195989204">(May 01 2020 at 17:54)</a>:</h4>
<p><span class="user-mention" data-user-id="116266">@Santiago Pastorino</span> Semi-related; I actually have been working on a new GitHub API client library for Rust, that should hopefully nice to use, and I was wondering if you'd mind sharing which of GitHub's APIs you end using the most? It would help me with knowing what to prioritize in terms of what to implement. Example of the API for getting pull requests.</p>
<div class="codehilite"><pre><span></span><code><span class="kd">let</span><span class="w"> </span><span class="n">prs</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">octocrab</span><span class="p">.</span><span class="n">pulls</span><span class="p">(</span><span class="s">&quot;owner&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;repo&quot;</span><span class="p">).</span><span class="n">list</span><span class="p">()</span><span class="w"></span>
<span class="w">    </span><span class="c1">// Optional Parameters</span>
<span class="w">    </span><span class="p">.</span><span class="n">state</span><span class="p">(</span><span class="n">params</span>::<span class="n">State</span>::<span class="n">Open</span><span class="p">)</span><span class="w"></span>
<span class="w">    </span><span class="p">.</span><span class="n">sort</span><span class="p">(</span><span class="n">params</span>::<span class="n">pulls</span>::<span class="n">Sort</span>::<span class="n">Popularity</span><span class="p">)</span><span class="w"></span>
<span class="w">    </span><span class="p">.</span><span class="n">per_page</span><span class="p">(</span><span class="mi">100</span><span class="p">)</span><span class="w"></span>
<span class="w">    </span><span class="c1">// Send the request</span>
<span class="w">    </span><span class="p">.</span><span class="n">send</span><span class="p">()</span><span class="w"></span>
<span class="w">    </span><span class="p">.</span><span class="k">await</span><span class="o">?</span><span class="p">;</span><span class="w"></span>
</code></pre></div>



<a name="196006685"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196006685" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196006685">(May 01 2020 at 20:35)</a>:</h4>
<p><span class="user-mention" data-user-id="219696">@XAMPPRocky</span> that's cool, at some point I thought about extracting some stuff into a small library too</p>



<a name="196006702"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196006702" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196006702">(May 01 2020 at 20:35)</a>:</h4>
<p>but what I ended using is very reduced</p>



<a name="196007187"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196007187" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196007187">(May 01 2020 at 20:39)</a>:</h4>
<p>mainly <a href="https://developer.github.com/v3/issues/" title="https://developer.github.com/v3/issues/">https://developer.github.com/v3/issues/</a></p>



<a name="196007247"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196007247" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196007247">(May 01 2020 at 20:40)</a>:</h4>
<p>it's actually that + filtering with labels</p>



<a name="196007250"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196007250" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196007250">(May 01 2020 at 20:40)</a>:</h4>
<p>nothing else really</p>



<a name="196008736"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196008736" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196008736">(May 01 2020 at 20:53)</a>:</h4>
<p>octocrab xD</p>



<a name="196378202"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196378202" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196378202">(May 05 2020 at 22:49)</a>:</h4>
<p>coming back to this thing, as <span class="user-mention" data-user-id="116122">@simulacrum</span> mentioned prs are grabbed when you use <a href="https://developer.github.com/v3/issues/" title="https://developer.github.com/v3/issues/">https://developer.github.com/v3/issues/</a> but it completely ignores the state part</p>



<a name="196378233"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196378233" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196378233">(May 05 2020 at 22:49)</a>:</h4>
<p>that seems wrong, can you paste your url?</p>



<a name="196378237"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196378237" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196378237">(May 05 2020 at 22:49)</a>:</h4>
<p>I remember state working for me</p>



<a name="196378241"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196378241" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196378241">(May 05 2020 at 22:49)</a>:</h4>
<p>so regardless if you use state=open,all,closed it seems like is always giving me back the open ones</p>



<a name="196378247"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196378247" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196378247">(May 05 2020 at 22:50)</a>:</h4>
<p>hold on ...</p>



<a name="196378293"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196378293" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196378293">(May 05 2020 at 22:50)</a>:</h4>
<p>yeah have done zero debugging ...</p>



<a name="196378446"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196378446" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196378446">(May 05 2020 at 22:52)</a>:</h4>
<p>"https://api.github.com/repos/rust-lang/rust/issues?labels=beta-nominated&amp;\"state=closed\""</p>



<a name="196378451"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196378451" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196378451">(May 05 2020 at 22:52)</a>:</h4>
<p>or state=all</p>



<a name="196378459"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196378459" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196378459">(May 05 2020 at 22:52)</a>:</h4>
<p>both queries give back ...</p>



<a name="196378460"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196378460" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196378460">(May 05 2020 at 22:52)</a>:</h4>
<p>what's with the quotes there?</p>



<a name="196378466"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196378466" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196378466">(May 05 2020 at 22:52)</a>:</h4>
<ul>
<li>Backport 1.43.1 release notes to master<a href="https://github.com/rust-lang/rust/pull/71914" title="https://github.com/rust-lang/rust/pull/71914">#71914</a></li>
<li>Update the <code>cc</code> crate<a href="https://github.com/rust-lang/rust/pull/71882" title="https://github.com/rust-lang/rust/pull/71882">#71882</a></li>
</ul>



<a name="196378528"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196378528" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196378528">(May 05 2020 at 22:53)</a>:</h4>
<p>facepalm :)</p>



<a name="196378575"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196378575" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196378575">(May 05 2020 at 22:54)</a>:</h4>
<p>I thought this was working</p>



<a name="196378593"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196378593" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196378593">(May 05 2020 at 22:54)</a>:</h4>
<p>ohh I see, by default is state=open</p>



<a name="196378642"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196378642" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196378642">(May 05 2020 at 22:55)</a>:</h4>
<p>that's why I've assumed it was working was entirely ignoring that and giving me back state=open</p>



<a name="196378656"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196378656" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196378656">(May 05 2020 at 22:55)</a>:</h4>
<p>I thought the default was state=all</p>



<a name="196378661"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/interacting%20with%20github%20api/near/196378661" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Santiago Pastorino <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/interacting.20with.20github.20api.html#196378661">(May 05 2020 at 22:55)</a>:</h4>
<p>anyway, it works, thanks</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>